package com.health.home.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author xpz
 * @date 2024/12/16 10:11
 */
@Data
@TableName("t_news")
public class TnewsPo {
    /**\
     * 资讯id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 资讯标题
     */
    private String newsTitle;
    /**
     * 发布时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;
    /**
     * 发布人id
     */
    private Integer publisherId;
    /**
     * 咨询内容
     */
    private String newsContent;





}
